updated jsdocs for front end