Adding js to return to home when video ends