Update main.js

Bettered AJAX requests by globally adding the ?nolayout=true to using $.ajaxSetup