added inline new-post composition if js is enabled