library now restored during browser session (json ajax issues solved)