Created application.js file, added javascript_include_tag to application.hgml.erb, created asset pipeline within application.js, this fixed scrolling issue and map issues.