Moved script in html