Make compatible with Firefox OS 2.0 and up