Added 'method' option for ajax method. Defaults to "GET"