I suggest you learn it at the best .. you never need to worry about job market in India at least. However your real work will never (most likely) give you opportunity to work with technologies you dream to work with. At least in my case its happening for last 6 yrs.
Ajax are used by companies such as google ,amazon. Technology keeps changing .There is nothing that is permenant in IT.Should be good enuf to get you a job .