WFM JavaScript