Added JSHint checking in all compilations
Fixed all JSHint errors. Better code quality now!