fix defect https://github.com/beautify-web/js-beautify/issues/495#

- correct the call to the print_newline.
- add another condition to enable print space before in case of unary
operators