various cahnges and new jquery version used