refactoring
added callbacks to handle element select, load availability data
Upgraded custom scrollbar lib
Scrollbar reset to default on closing box
removed todo comment
refactored code related to static box
separated plugin and plugin client code
Merged with master