Adding some javascript to the new post page