dictionary ADT code bricks for JavaScript