Fixed up the erb from the javascript files