fix preview on ie8
fix ie8 issue
change spaces to tabs