Scalable web application development using end-to-end JavaScript