SWRM prototype for Phonegap Build