purge site/user css/js on edit
added safety check in case something changes in the core func we are using
Merge pull request #1895 from Wikia/BAC-895

purge site/user css/js on edit