Favour using sbt/dom methods