Board install php script fix

+ ajaxapi references added
+ code inspection defects fixed