js: abstract table naming function
js: abstract table naming function

Signed-off-by: Pierre-Alexandre Meyer <ff019a5748a52b5641624af88a54a2f0e46a9fb5@ning.com>

pierre/goodwill,pierre/goodwill,pierre/goodwill