add betting and ajax