fix hot reload on reload js files