jshint

Very strict jshint checking of code for better
code quality. Both backend and frontend is
rigourusly checked with only small differences
in environments.