Fixed remote host problem in main.js
Merge pull request #120 from jansonhanson/master

Fixed remote host problem in main.js