Php If Variable Not Defined Javascript W3schools