update base js