Moved geo js to main.js