JavaScript function to convert a Number to Bijective base-26