Finished script

Demo 2 JavaScript file fixed