Features/ian/store mission complete

Store the mission success/failure, switch simulator.js to correct whitespace indent