Soy templates updated to include .js and JavaScript updated to reflect namespace change