add a try-catch-block to catch buffer.js type errors, show user if there was an error, update dependencies, remove grunt => use casperjs directly