dictionary.js almost done, sorry to push incomplete code