simple js lib