fix up enums template more. no more jshint ignore :)