fix issue #2 for support IE, replace tabs to spaces