server js and some other stuff