Updated version (now snapshotted for more small bug fixes)
Production mode returns and memoizes the built js.