Improved refresh process and updated readme and demo links

Added logic to the refresh process to factor manually defined target/previous elements
Removed debug code
Updated demo links so that they work locally