Remove unneccesary(?) var app = undefined;

Perhaps someone can explain why there is a need for the additional `var app = undefined;` in these modules?