Javascript errors

Gems in the gemspec were not getting loaded by the app using the engine, so they are now required in engine.rb.