using check-types

reduces dependency on lodash;
beginning browser tests