update main now that js is in lib.