Added documentation to all files except main.js