Update elevator.js

added dynamically changing text boxes