javascript classlib