started work on drawing js scopes