To comply with the write-up rule of root-me.org, in this write-up, I just talk about some hints related this challenge. Here is no solution and correct answer.
The "login.js" has the procedure of the login.
Find the related function and read the source code. that's all.
If you have some javascript knowledge or even if have another programming skill, you can find the key easily.