Updating libs in javascript plugin