fix whitespace issues in compiler, JS and output paths