adding js checkers