removed small script bug in html converter