Update ir.js

Add support for comments