Firefox compatibility
Merge pull request #5 from GeographicaGS/dev

Firefox compatibility