fix #6 instanciat a yacp from a dom element