Added documentation to onload and onclick