resolve js render issue