Update afch.js

This seems to work on test.wikipedia to get rid of the o = null error
Merge pull request #11 from Technical-13/master

Approved. The patch will be sent to the testing branch and will be moved to beta on-wiki soon.