NTLM Authentication implemented in Javascript