This version is old school.
Please find jQuery plugins on npm.
jQuery placeholderPatch
by Alex Rabarts
placeholderPatch is a simple jQuery plugin that provides support for the HTML5 placeholder attribute in older browsers.