formatting - template associated js