Build javascript libraries