js-check Type errors