Newsfeed / wall script in pure javascript