Added contextPath by default, is missing should be the root
Fixed jshint warnings