jQuery-based polyfill for the HTML5 placeholder attribute, that also patches $.fn.val properly