Client will call DevelopmentMode  before calling any PaymentAPI from webworks. The subsequent call need to remember what client did set. Now since payment_js has same life cycle as the app, we can set DevelopmentMode  in payment_js.