add js solution to problem 24, digit factorials