Refactor client location a bit

Added messages.
Added sugar.js cause it's sweet.