Code snippets for June 2013, typically for front-end development.