setup travisCI for jshint
update guidelines to latest standard