using rails ajax and some ridiculous bootstrapping