[JavaScriptBinding] Restructured the binding and implemented
retrieving of build errors.