fixing video not loading problem and remove unnecessary file in js