Inject initial state data into page