Fixed a bug in globe.js; better input handling now