converted the adopt application to use knockoutjs