Remove js code from html template