task js complete