fix js syntax
view files as table