fix for using in browser
tabs to spaces
Merge pull request #1 from jerrymf/master

Halson for using in browser