search should come first since its not assigned see http://contribute.jquery.org/style-guide/js/