rebuild js, fix event bug