update live extension selector and clean up code
version 1.3.0-beta.1