Add a static from_rooted method to JS<T> #2309
auto merge of #2548 : ebalint/servo/master, r=Ms2ger