Apply fix of Theriault, input by Haravikk, per https://github.com/kvz/phpjs/issues/76