var after comma

There was a var after importScripts' , which is an syntax error, removed it