[js] add missing slash to sourceRoot file:///
transform `return (e:Void)` to `e; return` (closes #3279)