Firefox compatibility
Merge pull request #76 from parthpankajtiwary/master

Firefox compatibility