Password generator working on Sencha Touch