Fixed JSHint failures. iRService now working