Reimplemented lol using Ajax requests