Scala lib for generating javascript widgets