added drawing + networking to javascript sources