rewrote remove-dev-files to be in node
rewrote compile-assets.sh in node
these had some syntax errors, which I didn't discover until I'd actually run them.  This commit fixes those