[Display template] helper to create js file