add front-end js code for refresh random quote