Fixed the issue that if there are any global function ( function foo() { ... } ) declarations in the raw file, in the output file they will be pulled onto the top and potentially before the preserved comment block.