jshint syntax fixes
Setting upgrade routine to 1.2.9, formatting improvements