Open Entity protocol for JavaScript