Added index2.js that does not seem to show the specified behaviour

added index2.js that does not display the erroneous behavior
Also added stuff to my VisualStudio project