draft of jquery split out and core standardisation