still trying to pass post content to js