Move JS server object into a common directory so it's shared with LMS and Studio