Removed usage of "new" keyword in JS, since in this case it doesn't do anything.