This uses Jquery label better for floating labels. just add the class label_better and data-position="top" to the input then initiate with jQuery. More info on the plugin page.