Basic Create Table JavaScript Function