Added the required assets to the gem, and used Rails engine to add the JS
asset to Rails app