JavaScript Library for format conversion