remove 'window' references in precompiled
fix tests
release 0.12.1