added the js environment requirements