Added ajax class; added slider() function; updated js core class