Javascript files keep disappearing