Converting JA Window to an Object