removes check for default labels
firefox compatibility
reorganized and edited example scripts