autocomplete is now properly restricted to javascript scopes