Revert "optional relative position + optional javascript alert"

This reverts commit 90ed9453977627f7393985b980c31f42ee9788fe.