Dictionary: Added copious amounts of documentation on the JS file.