Declaratively define stuff to do with jquery