Fixed teamnamelookup (function undefined)

Hello. I was looking to set up a small CTF for our computer club when I noticed the teamnamelookup function was not working as expected. Chrome's console showed that handle_teamname_lookup_submit was undefined. I noticed the other buttons had their click events set with jquery and coffeescript on document ready. I believe this commit to fix the problem and increase the consistency of the code. Thanks!

Christopher Ganas