Implemented neat JavaScript