Add JavaScript solutions 14, 19, and 22