A constructor function starting with new should always start with a capital letter.
Good Example:
var test = new Application();
Bad Example:
var test = new application();