js-escapes: Use `\0` instead of `\x00` where possible

Tests:
- http://mothereff.in/js-escapes#1%5C000a
- http://mothereff.in/js-escapes#1%5C0001

Closes #16.