Up to beta5 and newer c3p0
Fixed JS require statements