Ajaxify unit info

Refactoring unit info’s code in remaining units; use local jQuery lib
instead of remote lib to reduce loading time.