JSlint corrected