Start homepage JavaScript (Scala)