changed the DOM handling a bit
updated compile script
updated tests
finished the aml module
updated compiled scripts