A simple js lib