Beans: fix compilation
JS: shuffling files around + support js"alert($msg)" string interpolation to include verbatim JavaScript code.
JS: more string escapes