fix content directive to work with jQuery