fixed chrome browser compatibility issues
Merge pull request #41 from oponcefranco/staging

fixed chrome browser compatibility issues