Added QHint for js style checking
Added jsHint testing to all js files, and fixed style