Course manager session dom js cleanup

add missing semi-colons, stuff like that