Fix for assets pipeline in production

This allows to use this gem in production environment with precompiled assets.