Remake, v2

Major refactoring; use jQuery and jQueryUI