Consolidate, validate and minify javascript sources