optimized js; minor edits
designing study/view.scala.html and widgets