Fixed no javascript provider configured for createPurchase form.
Fixed remoteForm to be standard form.