Make more compact get rid of jquery