passing variables to getMovesData.php and back