Fixed arrow img bug resulting from incompatibility btwn root relative urls and js, added js functionality so that vid titles always return to black, refactored js