add javascript unbreaker (issue #23)

CSS doesn't actually have the keep-all property yet (it's too new, only a few browsers support it) so I made a javascript version of it. it's a little messy and untested on windows. let me know what you thihnk