Cleanup of hub js