Base "class" and scaffolding generator for JavaScript components.