After i was forced to shutdown my pc forcefully with the button, my js files became without a default app, when i click on a js file the dialog box didn't have the checkbox 'always use...' anymore, when i tried to set an app manually from the file properties 'Open with' it didn't change it keep being unknown application.
This problem isn't only with js extension i can't change any extension's default app.
Edit: I can't change it from default apps sittings either, when i choose notepad++ or other programs, it set it automatically to "Microsoft windows based script host" the only program that get accepted otherwise is visual studio