A simple JQuery plugin for inertia