Make sure JS is compiled before publish