doc(frontend) Add JSDoc to frontend files (#81)
- Add JSDoc for all relevant files in frontend folder
- Add JSDoc for all functions explaining the functions, parameters and return values
- Add small comments over the HTML code to explain it
Closes #81 (closed)