added command line flags, cdn for some js libraries