A heart rate monitoring application for FirefoxOS