Fix to work with Sprockets plugin