A simple tools library written in origin javascript