Refactoring "toggle" (updating jQuery to 1.9)