modified js/papero.js to show errors