Remove everything about views in the front end js.