Removing server output and ajax from edit view