Scripts rearranged in html files with proper comments.