diff --git a/js/stringProcessing/getAlttagContent.js b/js/stringProcessing/getAlttagContent.js
index <HASH>..<HASH> 100644
--- a/js/stringProcessing/getAlttagContent.js
+++ b/js/stringProcessing/getAlttagContent.js
@@ -3,7 +3,7 @@
 var stripSpaces = require( "../stringProcessing/stripSpaces.js" );
 
 /**
- * Checks for an alttag in the image and returns their content
+ * Checks for an alttag in the image and returns its content
  *
  * @param {String} text Textstring to match alt
  * @returns {String} the contents of the alttag, empty if none is set.
@@ -13,7 +13,7 @@ module.exports = function( text ) {
 	var image = text.match( /alt=([\'\"])(.*?)\1/ig );
 	if ( image !== null ) {
 
-		//matches the value of the alt attribute (alphanumeric chars), global and case insensitive
+		// Matches the value of the alt attribute (alphanumeric chars), global and case insensitive
 		alt = image[ 0 ].split( "=" )[ 1 ];
 		alt = stripSpaces( alt.replace( /[\'\"]*/g, "" ) );
 	}
Fixed a typo in the method description and capitalized a word in the inline docs.