Make it work when using Sprockets and not Rails