Refactored ebay form, added js features