fixed delta & also this works in  browser
Merge pull request #2 from qwook/master

fixed delta & also this works in  browser