main .js src file