change code tag to sourcecode tag
export "adjust sidebar" function
change JS API docs format and content

* Collapsible div to hide details,
* Adjust sidebar height,
* Color/styling changes