add package and change javascript code
clean useless plugin