Moves request/join functions into static/util.js