added jsdocs for front end factories