Revert "Bugfix for: The "check if the request is for part of magento" regex does not match for URLs starting with "/skin/" and "/js/" when a shop has enabled ‘Add Store Code to Urls’ for all stores. This causes caching not to work for JS and CSS URLs when a cookie is set."

This reverts commit 112fac9202b2c1cfea331bf944fac10351ddf680.