Add support for Firefox OS

initial work to add support for Firefox OS.