Modifications to js tables