uncommented some js important stuff in extra template