How do i append the PHP code to the Javascript append function under