colors.js changes
-on window load added to force waiting for all the images to be loaded
before extracting palette
-try and catch added in case thumbs_fb not found for extracting palette