update serve-js

now it has a much simpler implementation