Changed names, because of dependencies, othervise viewport will be undefined in ajax