change init on precompile to fix a bug when deploying on heroku

fixes #164
more infos here: https://devcenter.heroku.com/articles/rails-asset-pipeline