add the custom global variables used in the js code