Javascript If Statement Fails Even When The Variables Match Stack

Javascript If Statement Fails Even When The Variables Match Stack