phonegap wrapper for SalesMaster