move embedded update software js into its own file