added option to colorbox's api