https://www.wolfpress.co/javascript-error-message-magento/