Collaboration environment for JavaScript applications