removed an ending 'script' tag