Board Thread:Support Requests - Getting Started/@comment-26302513-20150610001417/@comment-9380534-20150610001640

There's several default JS pages, and you can create others on your own as well.

But the main ones are MediaWiki:Wikia.js and MediaWiki:Common.js.

See more at Help:JS and the JavaScript cheat-sheet page.