http://contribute.jquery.org/style-guide/js/#switch-statements