clean up demo js