Fix js for rwd