cleaned up address.js and util.js

Two space indentation, got rid of semi colons and some refactoring. Tests pass. Are you people ok with this format?