some parsing/formatting tests for js have been wrong all along PFFFF