Added route mediator cleaned up js libs