You have a small typo in the @memberOf
annotation. Change to a capital O and it should work just fine:
(function(window) {
/**
* @memberOf erest.track_event
*/
function something2() {
}
/**
* @memberOf erest.track_event
* @constructor
*/
function something3() {
}
}(window));
function something1() {
}
Remove the @constructor
annotation, if appropriate, to get something3() in the outline and not the constructor function.
Here is a similar question asked. Follow the link in the answer to get some more information.