JavaScript library package utility