restructured js/ to js/lib/ and js/src/