JavaScript Cookbook

If you use JavaScript at Wikia a lot, you'll find yourself using the same functions again and again. So let's make a collection of those functions you copypaste from project.