mve javascript to html file