Make js apply to all tables