Changed the variable name window to scope. So that it doesn't conflict with the window variable. Really it was only an issue at window.setTimeout when browserifying this lib.
Made it so that you don't have to pass in an el or el can be an html element and not just a string