fighting with js