Fixed js errors, Ajax fix for IE

Signed-off-by: Ankit Sharma <ankit_sam2001@yahoo.com>