wgScriptPath appended for all API calls from js