add isXXX for core.js