Fix #253. The simple approach

https://github.com/phproberto/simplecart-js/commit/addc8f76b4116f2fa36ff12329dfa9ed17f2d572