add default value, fix external js file link.