moving all remaining javascript snippets to sage.js