To use under Java/Rhino, see these instructions.

To use in Demandware, see these instructions.