removed duplicate definition of post
changed to make an empty POST
added space between ) and {
removed faking code
added space after :
create new object with {} instead of new Object()
replaced generateHtml() with createDOM()