more streamlining of js callbacks