header script tags removed from home.html.erb, added to layouts.