Added several JSDocs, renamed several functions to CamelCase
rewritten "Trash" command