Un-vendor put_cursor and extract jQuery plugins