modify js compile