Created project templates now use the new activity section of the project.xml file.
Fixed a bug in the Javascript template.