maps.js object created via script in index.erb. Still not rendering view correctly