Fixed JSlint problems.