Learning Git so adding some JavaScript code.