use python to create front-end js commpents.