added sample javascript file with some of the 'bad' parts of JavaScript.