Allow fastdom to work with nodejs for testing purposes.