moved long script form base.html to own file
Merge branch 'master' into dev