Bastion: re-enable jshint and fix jshint errors.