game javascript with php