Updated script structure
Used .bind() for better init functions
Updated function arguments to fix errors in Firefox
New API exposes additional methods for use in your own scripts.
Added conditional statement to `closeModals` to prevent excessive callback events
Removed an unused setting
Changed !== 0 to > 0 on node list length
Launched version 4
Merge branch 'init-3'