Prototypical inheritance based js api wrapper project.