Make execute script compatible with the selenium server args that are passed with execute script calls.