fixed javascripts import, added shiv, fixed templates