Made changes to templates and move js to static and deleted backup/example code as per Severyn's recommendation