Martin Yde - Added comments to js