A sample app for Firefox OS to calculate resistor values for 4-band resistor color codes