Loads the dictionary into javascript and displayed properly