An object system to bridge Python and JavaScript