Add javascript table sorting
Update outside libraries
Drop use of dropped constants CORE and LIB
Merge branch 'working'