I should also add that since you're using a nrf51822 there's really very little room available to fit in a bootloader and espruino - the micro:bit build overwrites the bootloader completely AFAIK to get a bit more space.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I should also add that since you're using a nrf51822 there's really very little room available to fit in a bootloader and espruino - the micro:bit build overwrites the bootloader completely AFAIK to get a bit more space.