Add Ruby ljust/rjust methods to JavaScript String