Passing parameters to JS

Share a gem https://github.com/falm/js-namespace-rails that can execute
page-specific javascript and passing parameters from controller to
assets js fiel