Used to troubleshoot js gallery issues.