Fix js evaluation