Added gon gem to access controller variables from javascript in views