upd main page (added js)