got rid of #toObject() in favor of just #named()
wrapped library to make it appropriate for browsers