phonegap wrapper for my resistorcalc application.