update javascript + fix on common process
externalized common config