Call Javascript Function With Php Variable Not Blank Not Working