front end js updates