working my way through the javaScript
Changed value