jTags-core.js | Source code | Well commented

with an example