Abstract Account Javascript now works fine