Fix js effect