Currently, no JavaScript unit tests exist. Create Jest tests to thoroughly test each function in `files/js`.