add functions for checking ERB syntax