jslinted and console.log added

Hello Mr Gwen, 

I would like my pull request to be accepted in order to improve your project. 

Thanks