fix refresh method + add it to demos + clean js