Added URL encoder, added hash change