updated path (added template/ for css and js) + added js/ directory