Fix #128. Added comments to js