Improving assignment in JS, also switching to CLang.