Fixes python and php code

It seems like js files got moved but python and php code did not get updated.
Also moved the driver.js into the shared directory.