added ajax onload initial implementation