use npm test in example and supress unsafe js warn