A bunch of random JavaScript snippets