A JavaScript API for scripting on Wikia