subtitle edit: adding javascript table