dom mutator for client-side web application