Cannot Call A Class As A Function Vuejs