Python Function Return String Javascript Mdn