Fix js core paths