Board Thread:Support Requests - Getting Technical/@comment-10696822-20140922224945/@comment-168424-20140930000750

Sounds like you guessed where to put the JS code and just guessed wrong. Try putting the code in w:c:carnage-test:MediaWiki:Common.js. It's a frequent mistake. This is just how Wikia did it.