IE and webkit fixes
Merge pull request #5 from Quadrophone/master

IE and webkit fixes