modified INFO function js