Make it pass JSLint

Make some minor changes to the last pull request so it follows JSlint
guidelines.
Remove strict security option and use rules activation instead