JavaScripty goodness: cleanup.