Code containing js, php, ajax