Added position option
Added empty anchor support