changes to mix jsp with ajax