JS app loads first state from php feed.