Javascript module that provides string manipulation