Fixed jshint error and added new option to ignore dot notation warnings

4 jshint errors left that need special attention.
 
I added "sub" option to jshint to avoid "dot notation" warnings. But why do we NOT use dot notation? see http://jslinterrors.com/a-is-better-written-in-dot-notation/