TypeError: 'undefined' is not an object (evaluating 'b.element') in declaration/prototype.js

suggestion for #76