Added some comments, converted tabs to spaces in scripts.js