If Condition Syntax In Javascript How To Make The Page