Hooked up javascript events and exposing module callbacks