add stub document
use GET in Ajax
remove pyc, update view to use variables