Simplify usage:
  no more <body onload="init();"> call;
  can be loaded on footer;
  add API functions for registering PI, decrypt function and inserting the StandaLock.