added so we can run javascrip when making a post
added newlines inte html so we can debug it easier