reworking ajax to append div instead of text