[js-checkers] simplified checkers function & little updates