This pull request fix a couple of small path errors in the dev branch

It also includes a javascript template file that is missing on dev.