further js diagnostics