add some DEBUG code
provide minified js file
update