Updated to new internal format

changed internal name of 'doc' to 'this' b/c it makes more sense when writing embedded code