Added railtie dependency
Precompile javascript