fixed [CocoaInCoffee nsobjectFromWebObject], added JavaScript error function.