doc layout changes, added append, addClass, removeClass, _useFunct, onClick, better method chaining and some bug fixes