WIP - adding jQuery functionality as directives.