quickstart.js-- adjusting 'try catch' statements