use React.createElement instead of React.DOM
show preloader only while loading