encoded entities and added typeof section to javascript mastery