Added javascript to project.xml test file and small fix to javascriptgenerator (still lots of work in progress!)