added some comments
added some comments, some refactoring
removed jQuery clickable
Scalajs does not use jquery any longer