Simple Javascript library to format strings