Changed backbone related code, added scripts in html.