Added bindings for the 'attr' from JQuery.

Could not name it 'attr', because of the 'attr' combinator.