jQuery plugin for formatting inputs