Appropriated CSS for Docs integration. Added js functionality for Docs. Fixed minor issues.