minor renaming
calling js callback using .call like it should
dont need this anymore
exporting data access to it's proper place