You can return to stock firmware by either entering Recovery mode (hold Back+Up+Select for 30 seconds) or downgrading to an older version of custom firmware and then checking for updates in Pebble app — it will install latest official firmware.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer? | Terms of Service