Update input.js

Skip missing 'post_id' (JS ERROR)