added js docblock comments to scripts