Fixed strict mode and jshint opts.

Fix for #12 as of now was able to find out these issues, working to find some more, if other issues found please report and help me to progress :)