Add jshint travis pre-build step and fix existing errors

Signed-off-by: Don Naegely <naegelyd@gmail.com>