javascript: fix backend to support new inliner
Merge pull request #1488 from raichoo/master

javascript: fix backend to support new inliner