fixed es2 enable in demo project