Deleted unfinished javascript code in the previous push that created bugs.