fix GIF issue on 404 error
tidy up JS files
adds JS fitText