adding .jshintrc file
style fixes

e.g. single-quoted strings
indentation fix

2 space indentation
add 'use strict'
fix style of quote in todo comment