moved map javascript into content_for