Added upload nameclash checking and javascript file lists.