Improved schedule header
Added comments to JavaScript