minor syntax corrections
updated transactions.js
Updated server alerting error status