changing to jsonp for setting the motion control