Javascript library inspired by the R reshape package