JS diagnostics