Added JavaScript basic IFFE. Cleaned out old comments. Fixed problem wit...

...h durandal main.js reference.