title: Using zxcvbn.js in QML
body: <p>I am currently trying to use the password strength library zxcvbn.js in QML, without success.</p>
  
  <p>I have the following setup with QT 5.3 and 
  the library from <a href="https://dl.dropboxusercontent.com/u/209/zxcvbn/zxcvbn.js" rel="nofollow">here</a>.</p>
  
  <pre><code>import QtQuick 2.3
  import QtQuick.Controls 1.2
  import QtQuick.Dialogs 1.2
  import "zxcvbn.js" as Zxcvbn
  
  ApplicationWindow {
      Component.onCompleted: {
          var result =  Zxcvbn.zxcvbn('asdf1234', null);
      }
  }
  </code></pre>
  
  <p>Which gives me the following error message:</p>
  
  <p><code>TypeError: Property 'zxcvbn' of object [object Object] is not a function</code></p>
  
  <p>Has someone already succeeded in using this lib in qml?</p>