Adds js and template.php files