HSP-like libraries for JavaScript