js data libraries refactor, tweaks, logging removal