I am working with an array of hashes in ruby/sinatra and want to pass them into my javascript function.
the part of the function I want to replace in my .js file is