Updated dependencies. Updated main.js to reflect API changes.