add test for js inlining