Added in jquery and calls to server. Publishing is not working right now