Fixing minor argument checking for inliner.js