Using a browser-side Javascript in Nuxt - Nuxt