a mini library for turning form requests into ajax