Updating payment type UI selection JS to cater for persisting state