Added Javascript slave