updated to prod build, updated jshint rules, fixed define transition null check to be cleaner for JS, fixed a couple of misnamed constants for Statemachine