cure jshint complaints
JS Code Style fixes.