Fixed #93

http://stackoverflow.com/questions/24715839/ajax-causing-strange-side-effects