fixing course population, changing keys in javascript
latest update