Update script.js for the "Ponder Stibbons"

As reported by Thomas the plugin wasn't working after updating to "Ponder Stibbons" version. That was caused due to the renaming of the getSelection function.