light-weight javascript library