password type support

set type="text" while displaying placeholder
on user focus, set type="password" back