fix index.js includes so it will work with precompiled asset pipeline