Ajax call when G is pressed/released