Update main.js

Update libraries versions