JS: Fix for Firefox -- ColorChooserDialog