Bug #77: JavaScript errors in console