Update accountlist.js

fixed issues with immediate function invocation syntax