foundation for JavaScript applications