prepare plugin for jquery 2.1.1