- added statndalone.js file to keep web app in webapp form
 - got rid of some uneeded code