formatting - template js admin side