add a partial template for javascripts.