Lightweight JavaScript framework