Fix JavaScript crash on send demo transaction in mobile version