Adding the initial design for the Hero javascript API