Update misc.js

some more polishing