Javascript to generate the app short_name from the name