In static view, there should not be an attempt to call the Ajax function.