adding second version of HappyNumbers.js