Created new function to divide the input number into sections of 3 to be translated by the first function which handles numbers < 1000. Created html interface and hooked it up to the other functions with jquery.