Personal front-end js functions.