upgrade to version 2.0

change js and html libraries