JS Script Changes and Spriting Background Images