move ajax call to separate function
move dom code out of addStatus function
replace plain function with constructor and protoype
move view logic into separate view object
move success callback into separate methos in view