Javascript modules that implement functionality for FOSP