Fix #253. The simple approach

https://github.com/BandManager/simplecart-js/commit/e31ac9cd3344f05101d439c631666d69aa64612c