Create accountlist.js

Changes to work on 2.5 and superiors