Used Hoon's JSEdit code mixed with his mockup.