json file does not make a json response, use html
use triggers and event handlers for callbacks
lots more documentation cleanup