The dictator js framework