updated for IE and Chrome js issues
Merge pull request #366 from loadedcommerce/B2376

updated for IE and Chrome js issues