add locals to jade compile
add build for production script