js library boilerplate