akbar khan javascript