Cleaned up JS file to remove spittle function and increased the overlap between photo set time windwos