refactorJs, remove old main
refactorJs, refactor all statics