Refreshed html template with compiled current JS