New feature for Subwooferjs: The driver object has three methods to produce subwoofer objects. Two are designed for maximally flat response (one sealed, one ported) and one is designed to produce an "extended bass shelf" to get extension from woofers with a higher fs parameter.
The code is available open source at github and npm.