Update scripts.js

Moved containerElement initialization out of the declaration.
Merge pull request #1 from prashantpawar/patch-1

Update scripts.js