Added results page and cleaned up some js