Made jquery local, added betting