bugfix core and add jquery adapter