javascript files for basic graphs