added lines to prototype.js on log output