Fix: login JS code error.