Turn environment to production on Heroku

For some reason the environment wasn't set correctly here. Set it and
Heroku deployment works.
Fix a syntax error

Literal hashes and omitting the parens on function calls don't work well
together. This caused a syntax error on Heroku.