This should be wrapped in an anonymous function so we're not polluting the client's javascript namespace.