add missing js callback