apply jquery generator