Sometimes when JavaScript code that is embedded in your HTML code contains minor errors (such as missing semi-colons) it will continue to work under normal circumstances. However, when your HTML code is minified browsers are less forgiving and your JavaScript may stop working.