Fixed errors in admin.js. This module is temporarily is used for test.