Added size parameter for referenceUI.coffee windows