added ajax stuff.. look out for haml indent stuff