Dynamic Table Creation Using Javascript Variables