More generally, I'm interested in knowing how you all approach writing JavaScript for your Arc webapps. Do you have a way of embedding it in Arc source, or do you write it independently and take advantage of the myriad tools available for development in JavaScript proper?
I start out just emitting strings, and gradually add structure to repeated patterns using string-emitting functions. And yes, I call this file js.arc. But it's not very comprehensive at all yet.