moves js wrapper into python module