Fix some strings thrown as errors in .compileAndLoad function
Clean up test.js
Handle compilation errors returned from tree-sitter core