To install a new JavaScript calculator, copy the JavaScript text file into the <EM_Home>/scripts directory of your Enterprise Manager installation. You can use another directory for scripts; if you do, specify the directory using the introscope.enterprisemanager.javascript.dir property.
Scripts are automatically deployed from this scripts directory at the frequency specified by the introscope.enterprisemanager.javascript.refresh property, which by default is 60 seconds.
After successful deployment, the new metrics appear in the Metric Browser tree.