fix(main): cleaned up js