moved boot.js script to body
passing error to props when there's a xhr error