Making src/core/ps_parser.js adhere to the style guide