JSlint hints fixed