Fixes static template file for js