add isUnd and load main.js