javascript splitting
remove old htm