moves the method sorting and general plugin functionality routing out of the plugin, and places it into the global namespace within script.js