gather ractive template into a .js file