replacing deprecated .live() jquery method by document.on()
trying to change to phantom js, since selenium-webdriver produces errors using the new jquery version.
updating to current best_in_place version to fix the javascript json errors that have been occuring since the recent jquery update.