huge omnitag.py refactoring
another script.js refactoring + bug fixing