fixing anqis stuff with js