preliminary jquery interaction with server