a simple table using javascript