added industry function to industry js.