added JS specific scopes