changes to base js