reorder admin and javascript variables
reorder admin and javascript variables