Fixed html input type for password fields

Before i write:
<pre><code type="javascript">var loginForm = $().w2form({
    name: "LoginForm",
    url: "/auth",
    fields: [
        {name: "login", type: "text", required: "true", html: {caption: "Логин", span: 3}},
        {name: "pass", type: "password", required: "true", html: {caption: "Пароль", span: 3, attr: "type='password'"}}
    ],
    actions: {
        "Вход": function () {
            console.log("Вход");
        }
    }
});
$("#authform").w2render(loginForm);</code></pre>
In html code i see 'input type = "text"', not "password"! My passwords not hided in HTML-forms!