very mild prettifiçation of a couple coursera-related scripts