better code for reactjs style script
merge