updating fromjs docs