JavaScript code parser and pretty printer