correcting two misspelled error !

two javascript errors occurs after setting the editingServer.