added JS stuff to misc as a test