Add some options and refacto
Refacto : http://www.jshint.com/