fixed jshint errors

Missing ;
workaround/patch until node-webkit and windows 8 maximise/unmaximize works correctly
Merge pull request #690 from ricl/dev-0.3

fixed jshint errors