Diagnostic JS File