added toolbar js #485