Try to assemble a working JavaScript library