coding #1 modifying javascript