package up javascript