Enable JS autocomplete on other variable types.

mode-javascript sets "variable-2" or "variable-3" types, too.
They should trigger autocompletion, too.

Test case:
function(obj.