end of the javascript functions

Morse Decoder

Paste the plaintext into the upper text area and then hit the button!
If you can read JavaScript then download the source and fiddle with it!
The de-binary uses 1=. and 0=-. Easy to alter in the code.

Plaintext

De-Morsed