readme and some refactoring toward ajaxyness