Add/implement location.js in browse.js
Cleanup of location.js source for merge
Merge pull request #236 from CloudNiner/topic/mergelocationjs

Add/implement location.js in browse.js