Edited reloading to work with the highlighting and ajax