Added simple ajax function and DOM lib.