added ruby calls for javascript assets in the app