Refactored, added documentHeight checking

Changed settings to object instead of several parameters
Added a setInterval to repeatedly check for changes in document height
Added usage info to readme