Coursera course re-done with Javascript