Added 'String Function' to js and its return. Code functional.