using jshint to help avoid trailling white spaces
using jshint to detect undefined vars