Javascript not indented properly on fresh install

Just got up and running with a fresh install of neovim and tried to edit a javascipt file, but the indentation is kinda weird: whenever indentation is needed, the editor will first insert a tab, and then all other indentations are groups of two spaces, is this a bug or is it because I haven’t configured anything yet? fyi, not sure if this helps,

:verbose set autoindent?
#  autoindent                                                                                                                                                                                                                                                                     
#        Last set from /snap/nvim/1722/usr/share/nvim/runtime/indent/javascript.vim line 15
  
:verbose set cindent?
#nocindent
    
:verbose set smartindent?  # nosmartindent
#nosmartindent                                                                                                                                                                                                                                                                     
#        Last set from /snap/nvim/1722/usr/share/nvim/runtime/indent/javascript.vim line 15
 
:verbose set indentexpr?
#  indentexpr=GetJavascriptIndent()                                                                                                                                                                                                                                               
#        Last set from /snap/nvim/1722/usr/share/nvim/runtime/indent/javascript.vim line 14

also,

shiftwidth=8
tabstop=8
softtabstop=0