Use Ajax to get and then run a JavaScript