Crashes when opening a .js file