Create script.js

Initial load script and also the image fading.