fixing problems with Firefox OS Android not supporting Alarm API