fix js error
Merge pull request #4 from tleilax/master

fix js error