Update dictionary.js

added documentation