modify deadline bug and loading js file bug