removin last script from html