javascript chapter updates

due to express update to api 4