general template for js files