removes window.addjsonidea json data from the controller