Made changes w.r.t. https://github.com/sbt/sbt-web/pull/16