working on getting post content to js