common components for JavaScript modules