Begin js conversion