Server JavaScript code library used by DDK2