Uncaught TypeError: Object #<HTMLDivElement> has no method append