Made Scalajs general
finished scalajs GUI components. Not yet working