R&D of ways to build modular Ruby on Rails app using Engines and RequireJS