Adding support for Password fields.

Just a little patch that added support for password fields that I needed for my project..

Fab lil' bit of JS :T

![passwordfieldsupport](https://f.cloud.github.com/assets/943948/203467/3fc5058a-8138-11e2-9553-95b6068f64ad.png)