adapt ajax handler for jquery and added store initialize