Cleanup all the js files in src/ folder to remove tabs and fix some lint errors (go down from 1484 to 632 errors)
[docs] cleanup the tabs in doc src files + fixes and demo code refactorings