figuring ajax/options stuff