Some debbuging and enhancement
debug js in admin