Complete Ajax example with 'hash' and 'cipher' strategies support