ajax OOP in bookmark