Add scalajs-library for js construction