extract settings from post.js