Add new JavaScript library version 0.12.
Remove trailing whitespace.
Beautify idCard.js code.
Remove old files, including files required for now deprecated Java applet signing.
Code refactoring, nicer comments and style.
Simplify code, split translate() into a separate function, improve readability.
Replace base64decode with a nicer equivalent, also take use of browser atob function if present.
Kick out some almost unused functions.
In example code replace prototype JS library dependency with jQuery.
Fix links, grammar and add links to API documents.