JavaScript – A refresher of code and concepts