use js/ as output directory