Hi Martijn,
Thanks for your idea.
We are currently working on the next generation of web applications, that will allow you to create JavaScript without having to write any of it, by just creating logic in Client Actions. In the rare cases where you do need JavaScript (e.g. to create a library that integrates with an existing external component), you'll be able to add scripts (and even define dependencies between them) and to use JavaScript nodes in the middle of flows, with typified inputs and outputs. This experience should be very similar to the current Mobile Apps.
With all this we expect that you'll need a lot less JavaScript, and that when you do need it your life will be easier.
Cheers,
Tiago Simões