JS lib boilerplate