[skip] Fixed javascript helper under Rails 4 (1m)