Fixed to use LayerX so firefox supports it too.
Merge branch 'master' into gh-pages